package com.wwu.entity.dict;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import java.io.Serializable;

/**
 * 诊断字典实体类
 * @param null:
 * @return: null
 * @Author: 一蓑烟雨
 * @Date: 2022/3/17 0017 下午 20:55
 */
@XmlAccessorType(XmlAccessType.FIELD)
@Data
public class DiagDict implements Serializable {
	/** 诊断编码 */
	@XmlElement(name = "DiagCode")
	@JSONField(ordinal = 11)
	@TableId("diagCode")
	private String diagCode;

	/** 诊断名称 */
	@XmlElement(name = "DiagName")
	@JSONField(ordinal = 12)
	private String diagName;

	/** ICD编码 */
	@XmlElement(name = "IcdCode")
	@JSONField(ordinal = 13)
	private String icdCode;

	/** 诊断说明 */
	@XmlElement(name = "DiagDesc")
	@JSONField(ordinal = 14)
	private String diagDesc;

	/**
	 * 诊断分类编码(0001-西医ICD10诊断;0002-中医疾病诊断;0003-中医症候诊断;0004-院自备)
	 */
	@XmlElement(name = "DiagClassCode")
	@JSONField(ordinal = 15)
	private String diagClassCode;

	/**
	 * 诊断分类名称(0001-西医ICD10诊断;0002-中医疾病诊断;0003-中医症候诊断;0004-院自备)
	 */
	@XmlElement(name = "DiagClassName")
	@JSONField(ordinal = 16)
	private String diagClassName;

	/**
	 * 诊断类型编码(cbzd-初步诊断,xzzd-修正诊断,ryzd-入院诊断,cyzd-出院诊断,swzd-死亡诊断)
	 */
	@XmlElement(name = "DiagTypeCode")
	@JSONField(ordinal = 17)
	private String diagTypeCode;

	/**
	 * 诊断类型名称(cbzd-初步诊断,xzzd-修正诊断,ryzd-入院诊断,cyzd-出院诊断,swzd-死亡诊断)
 	 */
	@XmlElement(name = "DiagTypeName")
	@JSONField(ordinal = 18)
	private String diagTypeName;

	/** 拼音码 */
	@XmlElement(name = "Py")
	@JSONField(ordinal = 19)
	private String py;

	/**
	 * 是否可用标志【N：不可用；Y：可用】
 	 */
	@XmlElement(name = "Available")
	@JSONField(ordinal = 20)
	private String available;
}
